package com.infore.dataAudit.remote;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.infore.dataAudit.remote.impl.BaseDataServiceFallbackFactory;
import com.infore.dataAudit.util.ResultEntity;


@FeignClient(name = "SiteManagement-Service",url="localhost:61007/SiteManagement-Service/",
                    fallbackFactory = BaseDataServiceFallbackFactory.class)
public interface IBaseDataService {
    
    @RequestMapping(value = "outSide/stationInfoAudit", method = RequestMethod.POST)
    ResultEntity stationInfoAudit(@RequestParam(value = "stationMnList") List<String> stationMnList);
    
    
    @RequestMapping(value = "outSide/projectInfoAllAudit", method = RequestMethod.POST)
    ResultEntity projectInfoAllAudit();
    
    @RequestMapping(value = "dataAudit/queryProjectByMn", method = RequestMethod.POST)
    ResultEntity projectInfoByMn(@RequestParam("mns")List<String> mns);
}
